package com.sanxiau.dormitory.yang.service;

import com.sanxiau.dormitory.yang.entity.LoginIn;
import com.sanxiau.dormitory.yang.vo.ResultInfo;
import org.json.JSONException;

import javax.servlet.http.HttpSession;


public interface LoginService {
    public ResultInfo UserLogin1(String user_name, String user_pwd,String res);
    public ResultInfo UserLogin2(String link_tel,String verify,HttpSession session);
    public ResultInfo SendVerify(String link_tel,HttpSession session);
    public ResultInfo quit(String name,int id,HttpSession session);
    public ResultInfo registerUser(LoginIn loginIn);
    public ResultInfo isExist(String user_name);
    /*public ResultInfo UserLogin3(String base64Data) throws JSONException;*/
}
